

import http from './http'
// import http  from "http";


// 获取推荐歌单
export function getRecommendedSongList (pageSize) {
    return http.get(`/music-api/personalized?limit=${pageSize}`)
}
// 获取推荐歌单详情
export function getSongListDetails (id) {
    return http.get(`/music-api/playlist/detail?id=${id}`)
}

// 获取歌曲详情
export function getSongDetails (ids) {
    return http.get(`/music-api/song/detail?ids=${ids}`)
}
// 获取新歌榜
export function getNewSongList () {
    return http.get(`/music-api/personalized/newsong`)
}
// 获取所有榜单列表
export function getAllSongList () {
    return http.get(`/music-api/toplist/detail`)
}
// 获取歌词
export function getLyrics (id) {
    return http.get(`/music-api/lyric?id=${id}`)
}
